package com.lhn.service.impl;

import com.lhn.entity.User;
import com.lhn.mapper.UserMapper;
import com.lhn.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author lhn
 * @date 2024-10-13 13:10
 */

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public User login(User user) {
        return userMapper.login(user);
    }
}
